<style>
	A.cart_payment {

	color: #004c93;

	font-family: Arial;

	text-decoration: none;

	font-size: 12px;

}



A.cart_payment:hover {

	color: #f60a36;

	font-family: Arial;

	font-size: 12px;

	text-decoration: none;

}
</style>
<div class="group-top">
<table width="100%"  border="0" cellpadding="0" cellspacing="0" background="<?=$root?>/themes/images/home/bg.jpg">

<tbody><tr><td colspan="3" style="padding-left: 30px;" height="45" width="694">
			<?
				if($_SESSION['is_login'] != true){
			?>
              <a href="<?=$root?>/dang-ky/" style="font-size: 22px; font-weight: bold; color: red; font-family: Arial; text-decoration:none;" class="cart_payment">Onepixel - Bán hàng online - Đăng Kí Tại Đây !</a>
			 <? }else{ ?>
			 <a href="<?=$root?>/dang-ban/" style="font-size: 22px; font-weight: bold; color: red; font-family: Arial; text-decoration:none;" class="cart_payment">Onepixel  - Bán hàng online - Đăng Bán Tại Đây !</a>
			<? } ?>
      </td>
      <td rowspan="2" align="center" width="306">
      <table background="<?=$root?>/themes/images/home/store.png" border="0" cellpadding="0" cellspacing="0" height="206" width="290">
      <tbody><tr><td onmouseover="obj_filter(document.getElementById('storelogoid'),70);" onmouseout="obj_filter(document.getElementById('storelogoid'),100);">

<div style="width: 280px; height: 200px;" id="top_store">
<table border="0" cellpadding="0" cellspacing="0" height="200" width="100%">

<tbody>
<tr>

<td colspan="2" style="cursor: pointer; padding-left: 15px; padding-top: 10px; font-size: 18px; font-weight: bold; color: rgb(255, 144, 0);" height="40" valign="top">Top 1 gian hàng mới lên</td>
</tr>
<?
	$rs = $db->query("SELECT * FROM ".$prefix."nguoidung WHERE u_banned = 1 ORDER BY u_id DESC LIMIT 1");
	$row = $db->fetch_array($rs);
	$u_id = $row[u_id];
	$u_avatar = $PathThumbFile . $row[u_avatar];
	$u_name = $myString->unQuote(stripslashes($row[u_name]));
	$u_tenshop = $myString->unQuote(stripslashes($row[u_tenshop]));
	$u_dienthoaididong = $row[u_dienthoaididong];
	$u_email = $myString->unQuote(stripslashes($row[u_email]));
	$u_website = $myString->unQuote(stripslashes($row[u_website]));
	$u_diachi = $myString->unQuote(stripslashes($row[u_diachi]));
?>
<tr>
<td width="98" height="80" align="center" valign="top" style="padding-left: 10px; cursor: pointer;">
<a href="<?=$root?>/shop-<?=$u_id?>/<?=$u_name?>"><img style="opacity: 1; border:3px solid #CCCCCC;" id="storelogoid" src="<?=$root?>/<?=$u_avatar?>" onerror="this.src='<?=$root?>/img/nopic.jpg'"; border="0" height="72" width="90" /></a></td>
<td style="cursor: pointer; padding-left: 5px; color: rgb(102, 102, 102);" valign="top"><a style="text-decoration:none;" href="<?=$root?>/shop-<?=$u_id?>/<?=$u_name?>"><b><font color="#2d6ac6">Shop <?=$u_tenshop?></font></b></a>
<font color="#2d6ac6"></font><br><i>Tel: <?=$u_dienthoaididong?><br>
<br>Tạo bởi: <?=$u_name?><br><?=$u_website?></i>
</td>
</tr>
<tr>
<td colspan="2" style="cursor: pointer; padding-left: 15px; font-size: 11px; padding-top: 5px; padding-right: 10px; color: rgb(102, 102, 102);" valign="top">Địa chỉ: <?=$u_diachi?></td></tr>

<tr>
  <td colspan="2" style="padding-bottom: 5px;" align="right" valign="bottom">
  <img src="<?=$root?>/themes/images/home/product.gif" height="14">&nbsp;<a href="<?=$root?>/shop-<?=$u_id?>/<?=$u_name?>" class="cart_payment"><i><b>Xem chi tiết</b></i></a>
  </td>
</tr></tbody></table>
</div>
   
	</td></tr>
	</tbody></table>
      </td>
      </tr>

      <tr>
      <td align="center" height="181" valign="top" width="256">
      <table onclick="window.location='<?=$root?>/dang-ky/';" onmouseover="obj_filter(document.getElementById('advimg3'),70);" onmouseout="obj_filter(document.getElementById('advimg3'),100);" style="cursor: pointer;" background="<?=$root?>/themes/images/home/item.png" border="0" cellpadding="0" cellspacing="0" height="160" width="200">
      <tbody><tr><td colspan="2" style="padding-top: 15px; text-align:center; font-size: 17px; font-weight: bold; color: rgb(20, 110, 180);" height="20" valign="top">
      Đăng ký thành viên<br /><br/>
      </td></tr>
      <tr><td style="padding-left: 10px; font-size: 12px; font-weight: bold; color: green;" height="25">Dễ dàng, nhanh chóng</td><td style="padding-right:5px;"><img src="<?=$root?>/themes/images/home/dot_arrow.png" height="22" width="22"></td></tr>      
      <tr><td colspan="2" align="center"><img style="opacity: 1;" id="advimg3" src="<?=$root?>/themes/images/home/register.jpg" height="90"></td></tr>

      </tbody></table>
      </td>
      <td valign="top" width="204">
      <table onclick="window.location='<?=$root?>/dang-ban/';" onmouseover="obj_filter(document.getElementById('advimg2'),70);" onmouseout="obj_filter(document.getElementById('advimg2'),100);" style="cursor: pointer;" background="<?=$root?>/themes/images/home/item.png" border="0" cellpadding="0" cellspacing="0" height="160" width="200">
      <tbody><tr><td colspan="2" style="padding-top: 15px; text-align:center; font-size: 17px; font-weight: bold; color: rgb(20, 110, 180);" height="20" valign="top">
      Đăng bán sản phẩm<br /><br/>
      </td></tr>
      <tr><td style="padding-left: 10px; font-size: 12px; font-weight: bold; color: green;" height="25" width="130">
      Đơn giản, đa năng
      </td><td style="padding-right:5px;"><img src="<?=$root?>/themes/images/home/dot_arrow.png" height="22" width="22"></td></tr>      
      <tr><td colspan="2" align="center"><img style="opacity: 1;" id="advimg2" src="<?=$root?>/themes/images/home/buildsite.jpg" height="90"></td></tr>

      </tbody></table>      
      </td>      
      <td align="center" valign="top" width="234">
      <table onclick="javascript:void(0);" onmouseover="obj_filter(document.getElementById('advimg1'),70);" onmouseout="obj_filter(document.getElementById('advimg1'),100);" style="cursor: pointer;" background="<?=$root?>/themes/images/home/item.png" border="0" cellpadding="0" cellspacing="0" height="160" width="200">
      <tbody><tr><td colspan="2" style="padding-top: 15px; text-align:center; font-size: 17px; font-weight: bold; color: rgb(20, 110, 180);" height="20" valign="top">
      Điều khoản sử dụng<br /><br/>
      </td></tr>
      <tr><td style="padding-left: 10px; font-size: 12px; font-weight: bold; color: green;" height="25" width="130">
      Minh bạch, hợp lý
      </td><td style="padding-right:5px;"><img src="<?=$root?>/themes/images/home/dot_arrow.png" height="22" width="22"></td></tr>      
      <tr><td colspan="2" align="center"><img style="opacity: 1;" id="advimg1" src="<?=$root?>/themes/images/home/law.jpg" height="90" width="180"></td></tr>

      </tbody></table>
      </td>
      </tr>
</tbody>



</table>
</div>